/**
 * Created by kroyo on 2017/8/7.
 * 设计库作品详情页
 */
@charset "utf-8";

@import "common/minxincommon";

//banner 轮播图样式
#banner{
    position: relative;
    width:100%;
    min-width: 1200px;
    overflow: hidden;
    img{
        width:100%;
        min-width: 1200px;
        vertical-align: middle;
    }
    .fu-control{
        display: none;
    }
}


.case-detail{
    background-color: #eeeeee;
    .detail-top{
        padding: 20px 0;
        div{
            float: left;
            line-height: 32px;
            font-size:16px;
            vertical-align: middle;
        }
        a{
            color: #b8b8b8;
            &:hover{
                color: #1e87f2;
            }
        }
        span{
            color: #666666;
        }
        button{
            position: relative;
            float: right;
            width:100px;
            height:32px;
            line-height: 32px;
            color: #1e87f2;
            font-size: 16px;
            border:1px solid #1e87f2;
            margin-right: 200px;
            padding-right: 20px;
            text-align: right;
            -webkit-border-radius:2px;
            -moz-border-radius:2px;
            border-radius:2px;
            background-color: transparent;
            -webkit-transition: all .5s;
            -moz-transition: all .5s;
            -ms-transition: all .5s;
            -o-transition: all .5s;
            transition: all .5s;
            &:after{
                position: absolute;
                top: 8px;
                left: 20px;
                display: block;
                content: '';
                width: 16px;
                height: 16px;
                background:url(../img/classic/collect.png) no-repeat center;
            }
            &:hover,&.active{
                background-color:#1e87f2;
                color: #fff;
                &:after{
                    background-image: url(../img/classic/collect-active.png);
                }
            }
        }
    }
    .detail-content{
        padding-bottom: 20px;
    }
    .detail-info{
        background-color: #fff;
    }
    //左边内容部分
    .detail-info{
        width:1002px;
        padding: 30px;
        margin-right: 30px;
        #project{
            display: block;
        }
        #company{
            display: none;
        }
        table{
            font-size:16px;
            .title{
                width:100px;
                background-color: #F8F8F8;
                text-indent: 20px;
            }
            .content{
                width:210px;
                padding:0px 10px;
            }
            tr.last{
                width: 100%;
                min-height: 100px;
                .description{
                    width: 840px;
                    line-height: 35px;
                    padding:10px;
                }
            }
        }
        .info-list{
            font-size: 0;
            border-top: 1px solid #E5E5E5;
            border-left: 1px solid #E5E5E5;
        }
        .info-box{
            display: inline-block;
            *display: inline;
            width:313px;
            height:55px;
            line-height: 35px;
            border-right: 1px solid #E5E5E5;
            border-bottom: 1px solid #E5E5E5;
            font-size: 0;
            .title,.content{
                display: inline-block;
                *display: inline;
                font-size:16px;
                height: 100%;
                vertical-align: middle;
            }
            .title{
                width:100px;
                background-color: #F8F8F8;
                border-right: 1px solid #e5e5e5;
                text-indent: 20px;
            }
            .content{
                width:210px;
                padding:0px 10px;
            }
            .description{
                display: inline-block;
                *display: inline;
                height:100%;
                width: 840px;
                line-height: 35px;
                padding:10px;
                font-size:16px;
            }
        }
        .info-box.last{
            display: table;
            width: 100%;
            min-height: 100px;
            line-height: 100px;
            border-top: 1px solid #e5e5e5;
            .title,.description{
                display: table-cell;
                vertical-align: middle;
            }
            .title,.content{
                height:100%;
            }
        }
        //图片
        .info-img{
            margin:0;
        }
        .info-img-wrap{
            width:100%;
            height:auto;
            margin-top: 30px;
            text-align: center;
            overflow: hidden;
            img{
                max-width:100%;
                height:auto;
                vertical-align: middle;
            }
        }
        //公司信息
        .top-wrap{
            height:65px;
            margin-bottom: 30px;
            .company-logo{
                width: 65px;
                height:100%;
                text-align: center;
                img{
                    width:100%;
                    height:100%;
                    vertical-align: middle;
                }
            }
            .company-name{
                height:100%;
                line-height: 65px;
                text-indent: 10px;
                font-size: 24px;
                font-weight: bold;
                color: #222222;
            }
        }
        table{
            width: 100%;
            border-top: 1px solid #E5E5E5;
            border-left: 1px solid #E5E5E5;
            tr{
                height: 60px;
            }
            tr.last{
                height: 120px;
                td.last-child{
                    padding: 15px;
                    word-break: break-all;
                    word-wrap: break-word;
                }
            }
            td{
                border-bottom: 1px solid #E5E5E5;
                border-right: 1px solid #E5E5E5;
            }
            td.odd{
                width: 120px;
                text-align: center;
                background-color: #F8F8F8;
            }
            td.even{
                width: 195px;
                padding-left: 15px;
            }
        }
        .company-imglist{
            width:100%;
            height:auto;
            img{
                width: 100%;
                margin-top: 30px;
            }
        }
    }
    //右边
    .detail-tab{
        width:168px;
        height:auto;
        color: #666666;
        .tab-wrap{
            height:auto;
            background: #fff;
            margin-bottom: 20px;
            div{
                position: relative;
                padding: 20px 0;
                text-align: center;
                cursor: pointer;
                border:1px solid #fff;
            }
            .arrow{
                position: absolute;
                left: -12px;
                top: 32%;
                content: " ";
                height: 22px;
                width: 22px;
                pointer-events: none;
                background-color: #fff;
                -webkit-transform: rotate(45deg);
                -moz-transform: rotate(45deg);
                -ms-transform: rotate(45deg);
                -o-transform: rotate(45deg);
                transform: rotate(45deg);
            }
            div:hover,div.active{
                border-color:#1e87f2;
                color: #1e87f2;
                .arrow{
                    border-left:1px solid #1e87f2;
                    border-bottom:1px solid #1e87f2;
                }
            }
        }
        .view-wrap{
            width:168px;
            height:auto;
            background: #fff;
            margin: 10px 0;
            padding-bottom: 20px;
            .more-list{
                width: 160px;
                height: 378px;
                overflow: hidden;
                margin: 10px auto;
            }
            .title{
                padding: 20px 0;
                text-align: center;
            }
            ul{
                height: 378px;
            }
            li{
                position: relative;
                width:160px;
                height:128px;
                padding: 5px;
                overflow: hidden;
            }
            .pro-wrap{
                width:150px;
                height:118px;
                text-align: center;
                overflow: hidden;
                img{
                    width: 100%;
                    height:100%;
                    border: 1px solid #e5e5e5;
                    vertical-align: middle;
                }
            }
            .pro-name{
                position: absolute;
                left:4px;
                bottom: 5px;
                width:150px;
                height:30px;
                background-color: rgba(0,0,0,.3);
                color: #fff;
                font-size:16px;
                text-align: center;
            }
            .btn-up,.btn-down{
                width:40px;
                height:40px;
                margin: 0 auto;
                cursor: pointer;
            }
            .btn-up{
                background: url(../img/dlibrary/top.png) no-repeat center;
                &:hover,&.active{
                    background-image: url(../img/dlibrary/top-active.png);
                }
            }
            .btn-down{
                background: url(../img/dlibrary/bottom.png) no-repeat center;
                margin-top: 20px;
                &:hover,&.active{
                    background-image: url(../img/dlibrary/bottom-active.png);
                }
            }
        }
    }
}


